<html>
<body>
Reports Kotlin objects that are registered as plugin extensions.
<p>
  Extensions lifecycle is managed by the IntelliJ Platform.
  Using Kotlin objects for extension registration may cause creation of unnecessary extension instances and make plugin unloading
  impossible.
</p>
<h2>Example</h2>
<p>Extension registration:</p>
<pre><code lang="xml">
&lt;annotator language="myLang" implementationClass="com.example.MyAnnotator"/&gt;
</code></pre>

<p>Extension implementation:</p>
<pre><code lang="kotlin">
// bad:
object MyAnnotator : Annotator {
  ...
}

// good:
class MyAnnotator : Annotator {
  ...
}
</code></pre>

<!-- tooltip end -->
<p><small>New in 2023.1</small>
</body>
</html>
